package top.kaoshanji.p1ch02c.main;

import org.springframework.stereotype.Component;

/**
 * 代码清单-p1ch02c-36页a：为Parrot类使用通用注解
 * @author kaoshanji
 * ^_^
 * create time 2025/4/27 15:48
 */
@Component
public class Parrot {

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
